﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Biblio.Domain
{
    [Table("Ejemplar")]
    public class Ejemplar
    {

        public Ejemplar()
        {
           
        }
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }
        [Required]
        public int Codigo { get; set; }
        //Si Estado=true esta disponible para prestamo.
        public bool Estado { get; set; }
        public Material Material { get; set; }
    }
}
